package com.humanmirror.actions;

import static org.junit.Assert.*;
import static org.mockito.Mockito.*;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;

public class DefaultActionTest {

	private static DefaultAction defaultAction;
	
	@BeforeClass
	public static void setUpBeforeClass() throws Exception{
	}
	
	@Before
	public void setUp() throws Exception {
		defaultAction = new DefaultAction();
	}
	
	@Test
	public void testPerform() {
		HttpServletRequest request = mock(HttpServletRequest.class);       
        HttpServletResponse response = mock(HttpServletResponse.class);
        
		assertEquals("/main.jsp", defaultAction.perform(request, response));
	}

}
